package pers.ljf.escloud.common.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class UserSaveReq {

    private Long id;

//    @NotEmpty(message = "姓名不可为空")
    private String name;

//    @NotEmpty(message = "账号不可为空")
    private String username;

    private String password;

//    @NotNull(message = "部门名不可为空")
    private Long parentId;

    private Integer status;
}
